import { App } from 'vue'

// import { Fold, Expand } from '@element-plus/icons-vue'

// const Icons = [Fold, Expand]

import * as Icons from '@element-plus/icons-vue'

export default function (app: App): void {
  // for (const icon of Icons) {
  //   app.component(icon.name, icon)
  // }
  for (const icon in Icons) {
    app.component(icon, (Icons as any)[icon])
  }
}
